import request from "@/request/request";
import instance from "@/request/xtxRequest"
import mockRequest from "@/request/mockRequest";

/* 获取三级联动数据的接口 */
export const getBaseCategoryListAPI = () => {
    return request({
        url: "/product/getBaseCategoryList",
        method: "GET",
    })
}

/* 获取轮播图数据的接口 */
export const getBannerAPI = () => {
    return instance({
        url: "/home/banner",
        method: "GET"
    })
}

/* 获取楼层数据的接口 */
export const getFloorAPI = () => {
  return mockRequest({
      url: "/floor",
      method: "GET"
  })
}
